package com.jky.trial.common;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * Created by suweiming on 2017/12/20.
 */
@Data
public class QueryParam extends Pagination {
    private String search;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateAt;

    //查询开始、截止日期
    private String startDate;
    private String endDate;

    private Integer status;
    private String orderField;
    private String orderBy;

}
